package com.qianli.cashmama.trade.unique;

import com.qianli.cashmama.trade.common.enums.UniqueStatusEnum;

/**
 * Created with IntelliJ IDEA.
 * User: sm
 * Date: 2017/12/6
 * Time: 下午6:09
 */
public interface BillUniqueService {

    /**
     * @param tradeNo
     * @return
     */
    UniqueStatusEnum uniqueDecide(String tradeNo, String userCode, String productCategory);


    /**
     * @param tradeNo
     * @return
     */
    boolean releaseUniqueLock(String tradeNo, String userCode, String productCategory);
}
